import {CanActivate} from '@angular/router';

export class LoginGuard implements CanActivate {
  canActivate() {
    return localStorage.token ? true : false;
  }
}
